package com.itheima.Log4j;

import java.util.Scanner;

public class Log4JTest02 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        //键盘录入一个数字
        String number = sc.nextLine();

        //类型转换
        int result = Integer.parseInt(number);
        System.out.println("类型转换成功"+result);

    }
}
